<div id="main" class="span-24 clearfix">
				<div class="container">
	<div class="span-19">


<div id="content"> <!-- Main Content Section with everything -->
	<h1><?php echo t('Edit') ?></h1>

			 <div class="form wide">
       <?php echo notify_get_messages(); ?>
<form name="frmnews" method="post" action="<?php echo site_url("news/doEdit");?>" >

                  <div class="row">
          		          <label for="Countries_name" class="required"><?php echo t('Tid'); ?> <span class="required">*</span></label>
                        <?php echo $cbo_news_types; ?>
                </div>                
                
                
            <div class="row">
		          <label for="Countries_name" class="required"><?php echo t('Title'); ?> <span class="required">*</span></label>		
              <input name="title" id="title" type="text" value="<?php echo $query->row("title");?>" />	
            </div>    
            
                
            <div class="row">
		          <label for="Countries_name" class="required"><?php echo t('Alias'); ?> <span class="required">*</span></label>		
              <input name="alias" id="alias" type="text" value="<?php echo $query->row("alias");?>" />	
            </div>    
            
          <div class="row">
          		          <label for="Countries_name" class="required"><?php echo t('Image'); ?> <span class="required">*</span></label>
               <input name="image" id="image" type="text" value="<?php echo $query->row("image") ?>" />
               
              <a href="javascript:mcImageManager.open('frmnews','image','', '',{document_base_url : '/', relative_urls : true})"><img src="/data/js/tiny_mce/plugins/imagemanager/pages/im/img/parent_big.gif" height="19" width="19" /></a>
                </div>
            <div class="row">
             <label for="Countries_name" class="required"><?php echo t('Summary'); ?> <span class="required">*</span></label>
		          <textarea id="summary" name="summary" style="height: 100px;"><?php echo $query->row("summary") ?></textarea>
            </div>    
            
           <div class="row">
                <label for="Countries_name" class="required"><?php echo t('Content'); ?> <span class="required">*</span></label>
		          <?php echo fullEditor('newscontent');?>
<textarea id="newscontent" name="content" class="fEditor"><?php echo $query->row("content") ?></textarea>		
            </div>     
                
            <div class="row">
		          <label for="Countries_name" class="required"><?php echo t('Hot'); ?> <span class="required">*</span></label>		
              <input name="hot" type="radio" id="hot" value="1" <?php if($query->row("hot") == "1") echo "checked"; ?> />
                <?php echo t("Published");?> &nbsp;&nbsp;&nbsp;
                <input name="hot" type="radio" id="hot" value="0" <?php if($query->row("hot") == "0") echo "checked"; ?> />
              <?php echo t("Unpublished");?>	
            </div>
            
                
            <div class="row">
		          <label for="Countries_name" class="required"><?php echo t('Order'); ?> <span class="required">*</span></label>		
              <input name="order" id="order" type="text" value="<?php echo $query->row("order");?>" />	
            </div>    
            
            <div class="row">
		          <label for="Countries_name" class="required"><?php echo t('Status'); ?> <span class="required">*</span></label>		
              <input name="status" type="radio" id="status" value="1" <?php if($query->row("status") == "1") echo "checked"; ?> />
                <?php echo t("Published");?> &nbsp;&nbsp;&nbsp;
                <input name="status" type="radio" id="status" value="0" <?php if($query->row("status") == "0") echo "checked"; ?> />
              <?php echo t("Unpublished");?>	
            </div>
            
            <div class="row">
             <label for="Countries_name" class="required"><?php echo t('Meta_tag'); ?> <span class="required">*</span></label>
		          <textarea id="meta_tag" name="meta_tag" style="height: 100px;"><?php echo $query->row("meta_tag") ?></textarea>
            </div>    
            
            <div class="row">
             <label for="Countries_name" class="required"><?php echo t('Meta_description'); ?> <span class="required">*</span></label>
		          <textarea id="meta_description" name="meta_description" style="height: 100px;"><?php echo $query->row("meta_description") ?></textarea>
            </div>    
                               
                    
                    
                    
                   <div class="row buttons">
  <input type="hidden" name="idx" id="idx" value="<?php echo encrypt($query->row("id")) ?>" />
	<input type="submit" class="button green" name="yt0" value="<?php echo t('Save') ?>" />	
        &nbsp; &nbsp;
        <input name="Button" type="button" class="button red" id="reset" value="<?php echo t('Cancle'); ?>" onclick="window.location='<?php echo site_url("news");?>'" />
  </div>
  
          
                </form>
 </div> 
				<!-- End .content-box-content -->
				
		
<div class="clear"></div>
			
			
			<!-- Start notifycations -->
			<!-- End notifycations -->
			
		  <div id="footer">
				<small> <!-- Remove this notice or replace it with whatever you want -->
						<?php echo power;?>
				</small>
			</div><!-- End #footer -->
			
		</div> <!-- End #main-content -->
    
    
    
</div></div></div>    